package com.sc.sc250601.cook.service;

import com.sc.sc250601.cook.pojo.Like;
import com.sc.sc250601.cook.pojo.Post;
import com.sc.sc250601.cook.pojo.Result;

import java.util.List;

public interface PostService {
    List<Post> selectAll();
    List<Post> selectByUid( List<Long> uids);
    Result addLikeCount(Like like);
    int addPost(Post p);
    Post selectById(Long id);
}
